const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  user: state => state.user.user,
  status: state => state.user.status,
  token: state => state.user.token,
  post: state => state.user.post,
  name: state => state.user.name,
  villageID: state => state.user.villageID,
  nickName: state => state.user.nickName,
  phone: state => state.user.phone,
  perms: state => state.user.perms,
  roles: state => state.user.roles,
  realName: state => state.user.realName,
  village: state => state.user.village,
  outUnit: state => state.user.outUnit,
  iconUrl: state => state.user.iconUrl,
  fistFlag: state => state.user.fistFlag,
  userForm: state => state.user.userForm,

  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
}
export default getters
